﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BLL.Services.WikiCategories.Listing
{
    public class WikiCategoryListing
    {
        public WikiCategoryListing()
        {
            WikiCategories = new List<WikiCategory>();
        }

        public WikiCategoryFilter Filter { get; set; }

        public int Page { get; set; }

        public int TotalPages { get; set; }

        public int Size { get; set; }

        public int Direction { get; set; }

        public string Column { get; set; }

        public List<WikiCategory> WikiCategories { get; set; } 

        public class WikiCategory
        {
            public int WikiCategoryId { get; set; }

            public string Name { get; set; }

            [Display(Name = "Count Pages")]
            public int CountPages { get; set; }
        }
    }
}
